package net.alpcontrol.bi.colligation.mapper;

import net.alpcontrol.bi.colligation.entity.PjProjectBuilding;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 丛庆
 * @since 2020-09-11
 */
@DS("master")  //默认为master数据源
@Mapper
public interface PjProjectBuildingMapper extends BaseMapper<PjProjectBuilding> {

    List<PjProjectBuilding> getByProjectName(String projectName);

    List<PjProjectBuilding> getByXmbm(String xmbm);

    List<Map> getByXmbmGroupByStatus(String xmbm);

    Map getSjgqByXmbm(String xmbm);
}
